package pack0624;

public class Father extends Grandfather {
    public Father(){
        System.out.println("父亲的无参构造器");
       // System.out.println(name);
    }
    public Father(String n){
        super(n,12);
        System.out.println("父亲的带String类型参数构造器");
    }
    public Father(String n,int a) {
        super(n,a);
        System.out.println("父亲的带String类型和int类型参数构造器");
    }
}
